﻿using Microsoft.Phone.BackgroundTransfer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpaceNeedle.x6473.WindowsPhone.Models
{
    public class BackgroundTransferRequestInfo
    {
        public BackgroundTransferRequestInfo()
        {

        }

        public BackgroundTransferRequestInfo(BackgroundTransferRequest request)
        {
            this.Tag = request.Tag;
            this.TransferStatus = request.TransferStatus;
            this.BytesSent = request.BytesSent;
            this.TotalBytesToSend = request.TotalBytesToSend;
            this.RequestId = request.RequestId;
        }

        public string Tag { get; set; }
        public TransferStatus TransferStatus { get; set; }
        public long BytesSent { get; set; }
        public long TotalBytesToSend { get; set; }
        public string RequestId { get; set; }
    }
}
